import { Command } from 'ckeditor5'

export default class InsertQuoteCommand extends Command {
    constructor(editor) {
        super(editor);
        this.editor = editor;
    }
    
    execute(params){
        this.editor.model.change(writer => {
            this.editor.model.insertContent(writer.createText(params));
        });
    }
    destroy() {
        super.destroy();
    }
}